﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-27
 * Time: 9:25
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._23.Visitor_Pattern.Refactor
{
	/// <summary>
	/// Description of ShapeVisitor.
	/// </summary>
	public class ShapeVisitor
	{
	 
		public void Visit(Rectangle rectangle)
		{
			Console.WriteLine("Rectangle Visitor");
		}
		public void Visit(Circle circle)
		{
			Console.WriteLine("Circle Visitor");
		}
		public void Visit(Line line)
		{
			Console.WriteLine("Line Visitor");
		}
	}
}
